<?php

//后台-账号密码登录，存session
Route::get('auth-code', 'UserController@auth_code');

//清除session-登出
Route::get('logout', 'UserController@logout');

//维护端登录接口，存session
Route::get('maintain-auth-code', 'UserController@maintain_auth_code');

//维护端-找回密码发送短信
Route::post('maintain-send-sms', 'UserController@maintain_send_sms');

//维护端-填写验证码，设置新的密码
Route::post('maintain-update-password', 'UserController@maintain_update_password');

//文件上传
Route::post('upload', 'UserController@upload');

//支付回调
Route::post('callback-order', 'UserController@callback_order');

//测试钉钉回调
Route::post('dingding', 'UserController@dingding');

//测试钉钉oa选题 审批任务开始，结束，转交
Route::any('oa-topic', 'UserController@oa_topic');

//测试钉钉oa选题 审批实例开始，结束
Route::any('oa-model-topic', 'UserController@oa_model_topic');

Route::any('oa-access-token', 'UserController@oa_access_token');
